{% load ordering %}
<div class="follow_user" id="follow_user{{ item.id }}">

    <div class="follow_user_content">
        <div class="follow_user_avatar">
            {% if follow_user.avatar %}
                <img class="follow_user_avatar" src="{{ follow_user.avatar.url }}">
            {% else %}
                <img class="follow_user_avatar" src="{{ STATIC_URL }}/images/default.jpg">
            {% endif %}
        </div>

        <div class="follow_user_data">
            <div>
                {{ follow_user.get_followers|length }}<span> Followers</span>
            </div>
            <div>
                {{ follow_user.live_current }} items LIVE!
            </div>
        </div>

        {%  with is_following=user|args:follow_user|call:"is_following"  %}

        <form class="follow_form" id="follow_form{{ item.id }}" method="POST"
          action="/user/{% if is_following %}unfollow{% else %}follow{% endif %}/{% if story %}story/{% endif %}">
            {% csrf_token %}
            <input type="hidden" name="follow" value="{{ follow_user.id }}">
            <input type="hidden" name="item" value="{{ item.id }}">
            {% if profile_user %}
                <input type="hidden" name="profile" value="{{ profile_user.id }}">
            {% endif %}
            {% if is_following  %}
                <input type="submit" class="unfollow_button submit_button" value="Following">
            {% else %}
                <input type="submit" class="submit_button" value="Follow">
            {% endif %}
        </form>

        {% endwith %}
    </div>

    <div class="follow_close"></div>
</div>